package com.zd.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 教师表
 * </p>
 *
 * @author TSP
 * @since 2021-08-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sc_teacher")
@ApiModel(value="Teacher对象", description="教师表")
public class Teacher implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "教师ID")
    @TableId(value = "tea_id", type = IdType.AUTO)
    private Integer teaId;

    @ApiModelProperty(value = "人员ID")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty(value = "10位教工号")
    private String teaNumber;

    @ApiModelProperty(value = "职称")
    private String professionalTitle;


}
